package com.jxt.myapp.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtils {

	/**
	 * 获得当前日期(格式: yyyy-MM-dd HH:mm:ss)
	 * @return
	 */
	public static String nowTime() {
		Date date = new Date();
		SimpleDateFormat simpleDateFormat = new SimpleDateFormat(
				"yyyy-MM-dd HH:mm:ss");
		final String nowTime = simpleDateFormat.format(date);
		return nowTime;

	}

}
